package com.example.design;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.web.bind.annotation.RestController;


import lombok.extern.slf4j.Slf4j;

/**
 * \* @author: bear
 * \* Date: 2021-01-27-15:39
 * \* describe:
 */
@RestController
@Slf4j
public class HelloController {


	@Scheduled(cron="*/1 * * * * ?")
	public void test(){
		System.out.println("hhhhhhhhh");
	}

}
